<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>商品类型修改</title>
  <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}" />
  <script th:src="@{/js/jquery-3.6.0.min.js}"></script>
</head>
<body>
<div class="panel panel-primary">
  <div class="panel-heading">
    <div th:replace="~{header}">
    </div>
  </div>
</div>
<div class="container">
  <br><br><br><br>
  <div   style="width:500px; height:70px;">
    <h4 align="center">商品类型修改</h4>
  </div><br>
  <form th:object="${goodType}" method="post"  class="form-horizontal" th:action="@{/goodsType/update}">
    <input type="hidden" class="form-control"  th:field="*{tcode}"/>
    <div class="form-group has-success">
      <label class="col-sm-2 col-md-2 control-label">类型名称</label>
      <div class="col-sm-4 col-md-4">
        <input type="text" class="form-control"  th:field="*{tname}" placeholder="请输入类型名称"/>
      </div>
    </div>


    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <span style="display:inline-block;width:80px"></span>
        <button type="submit" class="btn btn-success" >修改</button>
        <span style="display:inline-block;width:40px"></span>
        <button type="button" class="btn btn-primary" onclick="window.history.back()">返回</button>
      </div>
    </div>
  </form>
</div>

</body>
</html>